package com.excel.exceldemo.service;

import com.excel.exceldemo.pojo.User;
import org.springframework.web.bind.annotation.RequestPart;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface UserService {

    int addUserBatch(@RequestPart(value = "file") MultipartFile file) throws IOException;

    List<User> getUserList();
}
